package com.study.design.adapter;

/**
 * @Author 网易云课堂微专业-java高级开发工程师【allen老师】
 * @Version 1.0
 */
public class WildDogAdapter implements Duck {
    Dog dog;

    public WildDogAdapter(Dog dog) {
        this.dog = dog;
    }

    @Override
    public void quack() {
        dog.wangwang();
    }
}
